<?php
class pages_controller {
  function all() {
    global $pages; // grr
    $pages = $GLOBALS['db']->select('pages'); // hmm can DatabaseObject be used for this...?
  }
  function show() {
    global $page;
    global $ident;
    $page = new Page($ident);
  }
}
?>